package com.example.lib;
public class MallardDuck extends Duck {
    @Override
    public void display() {
        System.out.println("i'm the mallard duck");
    }

    public MallardDuck() {
        setFlyBehavior(new FlyWithWings());
        setQuackBehavior(new Quack());
    }
}
